﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace masini
{
    class MiniCar : Car
    {
        private string equipment;
        private string engine;
        private string sizes;

        public MiniCar(){}

        public MiniCar(string name, string color, string transmission, string equipment, string engine, string sizes) :base (name,color,transmission)
        {
            this.equipment = equipment;
            this.engine = engine;
            this.sizes = sizes;
        }

        public override void print()
        {
            Console.WriteLine(this.name + "--" + this.GetType().ToString().Split('.')[1] + "--" + this.color + "--" + this.transmission + "--" + this.equipment + "--" + this.engine + "--" + this.sizes);
          
        }
    }
}
